﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CloudClass.Models
{
    //评价表
    public class Evaluation
    {
        //编号
        public virtual int Id { get; set; }

        //评价内容
        public virtual string EvaluationContent { get; set; }

        //星级(1~5)
        public virtual int EvaluationLevel { get; set; }

        //评价时间
        public virtual DateTime EvaluationTime { get; set; }

        //评价人
        public virtual UserInfo UserInfo { get; set; }

        //评价类型 1:课程，2：计划
        public virtual int EvaluationType { get; set; }

        /// <summary>
        /// 课程
        /// </summary>
        public virtual CourseInfo CourseInfo { get; set; }

        /// <summary>
        /// 计划
        /// </summary>
        public virtual Plan Plan { get; set; }
    }
}